/**
 * Copyright &copy; 2015-2020 <a href="www.dsesa.cn/">ESA</a> All rights reserved.
 */
package com.jeeplus.modules.adjunctFile.entity;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.modules.sys.entity.AdjunctClass;

/**
 * 附件Entity
 * @author xujin
 * @version 2019-10-30
 */
public class AdjunctFile extends DataEntity<AdjunctFile> {

	private static final long serialVersionUID = 1L;

	private String dataId;                // 对应的id
	private String objectId;              // 对应的classid
	private AdjunctClass adjunctClass;    // 附件所属分类Id
	private String classFile;    		  // 文件地址

	public AdjunctFile() {
		super();
	}

	public AdjunctFile(String id) {
		super(id);
	}

	public AdjunctFile(String objectId, String dataId){
		this.objectId = objectId;
		this.dataId = dataId;
	}

	public String getDataId() {
		return dataId;
	}

	public void setDataId(String dataId) {
		this.dataId = dataId;
	}

	public String getObjectId() {
		return objectId;
	}

	public void setObjectId(String objectId) {
		this.objectId = objectId;
	}

	public AdjunctClass getAdjunctClass() {
        return adjunctClass;
    }

    public void setAdjunctClass(AdjunctClass adjunctClass) {
        this.adjunctClass = adjunctClass;
    }

    public String getClassFile() {
		return classFile;
	}

	public void setClassFile(String classFile) {
		this.classFile = classFile;
	}

}